.container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loader {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  -webkit-animation: starsRotateReverse 2s ease infinite;
  animation: starsRotateReverse 2s ease infinite;
}

.loaderStar {
  position: absolute;
  top: calc(50% - 12px);
}

.loader polygon {
  fill: var(--secondary-color) !important;
}

.loader .star1 {
  top: 0px;
  right: -7px;
}

.loader .star2 {
  right: 9px;
  top: -12px;
  position: absolute;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
  -webkit-animation: starsCatch 2s 0.1s ease infinite;
  animation: starsCatch 2s 0.1s ease infinite;
}

.loader .star3 {
  right: 27px;
  top: -11px;
  position: absolute;
  -webkit-transform: scale(0.7);
  -ms-transform: scale(0.7);
  transform: scale(0.7);
  -webkit-animation: starsCatch 2s 0.15s ease infinite;
  animation: starsCatch 2s 0.15s ease infinite;
}

.loader .star4 {
  right: 41px;
  top: -2px;
  position: absolute;
  -webkit-transform: scale(0.6);
  -ms-transform: scale(0.6);
  transform: scale(0.6);
  -webkit-animation: starsCatch 2s 0.2s ease infinite;
  animation: starsCatch 2s 0.2s ease infinite;
}

.loader .star5 {
  right: 47px;
  top: 10px;
  position: absolute;
  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
  -webkit-animation: starsCatch 2s 0.25s ease infinite;
  animation: starsCatch 2s 0.25s ease infinite;
}

.loader .star6 {
  right: 47px;
  top: 21px;
  position: absolute;
  -webkit-transform: scale(0.4);
  -ms-transform: scale(0.4);
  transform: scale(0.4);
  -webkit-animation: starsCatch 2s 0.3s ease infinite;
  animation: starsCatch 2s 0.3s ease infinite;
}

@-webkit-keyframes starsRotateReverse {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes starsRotateReverse {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes starsCatch {
  0% {
  }
  25% {
  }
  50% {
  }
  75% {
    top: -2px;
    right: -11px;
    opacity: 0;
  }
  100% {
  }
}

@keyframes starsCatch {
  0% {
  }
  25% {
  }
  50% {
  }
  75% {
    top: -2px;
    right: -11px;
    opacity: 0;
  }
  100% {
  }
}
